package com.tm.aliyunmassage.service;

import java.lang.invoke.MethodType;
import java.util.Map;

/*
public class SmsServiceImpl implements SmsService{
    @Override
    public boolean sendSms(String phone, Map<String, Object> map) {
        if(phone.isEmpty())return false;
      //1.设置阿里云 secrectkey
        DefaultProfile profile= DefaultProfile.getProfile("default","");
      //发起 客户端
       IAcsClient client= new DefaultProfile.getProfile(profile);
      //设置短信发送的信息 签名  手机号码  验证码
        CommonRequest request= new CommonRequest();
      //1.设置请求方式
        request.setSyMethod(MethodType.POST);

    }
}
*/
